package com.zwh.rabbitmq.module.project;

/**
 * 项目rabbitmq配置常量
 * @author zwh
 * @date 2021/12/8 9:29
 **/
public class ProjectMqConstants {
    /**
     * 合同，项目所需的交换机
     */
    public static final String CONTRACT_OR_PROJECT_EXCHANGE = "bacs_exchange";
    /**
     * 项目新增队列
     */
    public static final String PROJECT_ADD_QUEUE = "bacs.project.test";
    /**
     * 项目变更事件 （同项目新增队列共用队列）
     */
    public static final String PROJECT_UPDATE_QUEUE = "bacs.project.test";

    /**
     * 项目删除事件
     */
    public static final String PROJECT_DELETE_QUEUE = "project.info.delete";

    /**
     * 项目能否删除事件（监听消息队列）
     */
    public static final String PROJECT_CAN_DELETE_QUEUE = "project.info.can.delete";
}
